home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-04 / zbpc_460.zip / TUTOR.EXE / RUN.DOC < prev   
Text File  |  1988-11-04  |  1KB  |  34 lines

  1.               Compiling, Running and Tracing ZBASIC Programs
  2. ...
  3. COMPILE forces a test compile without running the program and
  4.         displays all errors found.
  5. RUN compiles in memory and executes the program.
  6. RUN* compiles in memory, prompts you for a filename, and saves
  7.         the compiled program as the filename.
  8. RUN+ compiles and saves as a CHAIN program. This is primarily
  9.         used when you're pressed for memory. In a BASE CHAIN
  10.         program you define variables to be retained in all
  11.         chained programs, then call the chained programs for
  12.         SUB CHAIN programs.
  13. ...
  14. You can also do compiles from the DOS level like this:
  15.         ZBASIC SOURCE-FILE-NAME PROGRAM-FILE-NAME
  16. ...
  17. There are several tracing options available in ZBASIC :
  18. ...
  19. TRON displays line numbers as the program executes.
  20. ...
  21. TRONB checks for the BREAK key at the start of each line, if
  22.         found the program terminates. Remember, as the program
  23.         runs, it is     already compiled, so breaking like in
  24.         Microsoft Interpreter Basic is not as easy.
  25. ...
  26. TRONS turns on single-step tracing, steps through the program
  27.         one command (not line) at a time, pausing after each
  28.         command until a key is pressed. Once selected can be
  29.         toggled on and off with <CTRL> - Z (or <F6>).
  30. ...
  31. TROFF deselects tracing.
  32. ...
  33. Finally, to quit the ZBASIC compiler, the command is QUIT.
  34.